﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Collections.TreeCollections;

namespace FeatureModelCore.FMInterface
{
    public enum ErrorType
    {
        ConflictFeatureName,
        IncompletedGroupRelationship, 
        IncompleteRelationship,
        ErrorExcludeConstraint
    }
    public enum WarningType
    {
        RedundancyCrossTreeConstraint,
        AlwaysExist
    }
    public interface IFeatureModelObject
    {
        TreeNodeIdentify ID { get; }
        //bool ExistError { get; }
        //ErrorType[] ErrorMessages { get; }
        //void ClearErrorMessages();
        //void AddErrorMessage(ErrorType msg);
        //bool ExistWarning { get; }
        //void ClearWarningMessages();
        //void AddWarningMessage(WarningType msg);
        //WarningType[] WarningMessages { get; }
    }
}
